From: Giovanni Campagna Date: Sun, 16 Sep 2012 20:36:21 +0000 (+0200) Subject: Fix regression from 38f943ef81781210a7b680ecd58b75cb9007635a X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5849 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=633bbd8a9e28d86c89a081fd697cc2b96f039b24;p=gnome-shell.git Fix regression from 38f943ef81781210a7b680ecd58b75cb9007635a In gdm mode there is no activities button, and accessing it causes an exception. https://bugzilla.gnome.org/show_bug.cgi?id=684162 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index cfbf011b4..f11aa5b6b 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1443,7 +1443,8 @@ const MessageTray = new Lang.Class({ this._grabHelper = new GrabHelper.GrabHelper(this.actor); this._grabHelper.addActor(this._summaryBoxPointer.actor); this._grabHelper.addActor(this.actor); - this._grabHelper.addActor(Main.panel.statusArea['activities'].hotCorner.actor); + if (Main.panel.statusArea.activities) + this._grabHelper.addActor(Main.panel.statusArea.activities.hotCorner.actor); Main.layoutManager.keyboardBox.connect('notify::hover', Lang.bind(this, this._onKeyboardHoverChanged));